home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dgeequ.z / dgeequ
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))                                                          DDDDGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGEEQU - compute row and column scalings intended to equilibrate an M-
  10.      by-N matrix A and reduce its condition number
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DGEEQU( M, N, A, LDA, R, C, ROWCND, COLCND, AMAX, INFO )
  14.  
  15.          INTEGER        INFO, LDA, M, N
  16.  
  17.          DOUBLE         PRECISION AMAX, COLCND, ROWCND
  18.  
  19.          DOUBLE         PRECISION A( LDA, * ), C( * ), R( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      DGEEQU computes row and column scalings intended to equilibrate an M-by-N
  36.      matrix A and reduce its condition number. R returns the row scale factors
  37.      and C the column scale factors, chosen to try to make the largest element
  38.      in each row and column of the matrix B with elements
  39.      B(i,j)=R(i)*A(i,j)*C(j) have absolute value 1.
  40.  
  41.      R(i) and C(j) are restricted to be between SMLNUM = smallest safe number
  42.      and BIGNUM = largest safe number.  Use of these scaling factors is not
  43.      guaranteed to reduce the condition number of A but works well in
  44.      practice.
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      M       (input) INTEGER
  49.              The number of rows of the matrix A.  M >= 0.
  50.  
  51.      N       (input) INTEGER
  52.              The number of columns of the matrix A.  N >= 0.
  53.  
  54.      A       (input) DOUBLE PRECISION array, dimension (LDA,N)
  55.              The M-by-N matrix whose equilibration factors are to be computed.
  56.  
  57.      LDA     (input) INTEGER
  58.              The leading dimension of the array A.  LDA >= max(1,M).
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))                                                          DDDDGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      R       (output) DOUBLE PRECISION array, dimension (M)
  75.              If INFO = 0 or INFO > M, R contains the row scale factors for A.
  76.  
  77.      C       (output) DOUBLE PRECISION array, dimension (N)
  78.              If INFO = 0,  C contains the column scale factors for A.
  79.  
  80.      ROWCND  (output) DOUBLE PRECISION
  81.              If INFO = 0 or INFO > M, ROWCND contains the ratio of the
  82.              smallest R(i) to the largest R(i).  If ROWCND >= 0.1 and AMAX is
  83.              neither too large nor too small, it is not worth scaling by R.
  84.  
  85.      COLCND  (output) DOUBLE PRECISION
  86.              If INFO = 0, COLCND contains the ratio of the smallest C(i) to
  87.              the largest C(i).  If COLCND >= 0.1, it is not worth scaling by
  88.              C.
  89.  
  90.      AMAX    (output) DOUBLE PRECISION
  91.              Absolute value of largest matrix element.  If AMAX is very close
  92.              to overflow or very close to underflow, the matrix should be
  93.              scaled.
  94.  
  95.      INFO    (output) INTEGER
  96.              = 0:  successful exit
  97.              < 0:  if INFO = -i, the i-th argument had an illegal value
  98.              > 0:  if INFO = i,  and i is
  99.              <= M:  the i-th row of A is exactly zero
  100.              >  M:  the (i-M)-th column of A is exactly zero
  101.  
  102. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  103.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  104.  
  105.      This man page is available only online.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.